{include file="public/header" title="明亚快报"/}
<header id="header" class="mui-bar mui-bar-nav">
    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
    <h1 class="mui-title">{$item['title']}</h1>
</header>
<style>
    .mui-content {
        background: #fff;
    }
</style>
<div class="mui-content" id="article_details">
    <div class="mui-content-padded">
        <h3 class="title">{$item['title']}</h3>
        <p class="date">
            <span class="sun sun-ziyuan"></span>{:date('Y-m-d',strtotime($item['create_time']))}
        </p>
        {$item['content']}
    </div>
</div>

<script>
    (function ($) {
        $.init({
            swipeBack: true //启用右滑关闭功能
        });
        $('#article_details img').each(function (index, obj) {
            obj.setAttribute('data-preview-src','');
            obj.setAttribute('data-preview-group','1');
        });
        $.previewImage();
    })(mui);
</script>
{include file="public/footer"/}